<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>全屏滚动</title>
    <!-- <link rel="stylesheet" href="index.css"> -->
    <link rel="stylesheet" href="index-bg.css">
</head>

<body>
    <!-- 屏幕 -->
    <div class="container">
        <div class="section section-1">
            <h1>第1屏</h1>
        </div>
        <div class="section section-2">
            <h1>第2屏</h1>
        </div>
        <div class="section section-3">
            <h1>第3屏</h1>
        </div>
        <div class="section section-4">
            <h1>第4屏</h1>
        </div>
    </div>

    <!-- 侧边按钮 -->
    <ul class="controls">
        <li class="active"></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
</body>

<script src="index.js"></script>

</html>